package com.hsmw.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 搅拌站详情表
 * </p>
 *
 * @author tjy
 * @since 2021-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwConcretePlantInfo对象", description="搅拌站详情表")
public class HsmwConcretePlantInfo extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户电话")
    private String username;

    @ApiModelProperty(value = "搅拌站名称")
    private String plantName;

//

    @ApiModelProperty(value = "搅拌站平面图")
    private String plantGraph;

    @ApiModelProperty(value = "项目位置名称")
    private String position;

    private String lng;

    private String lat;

    @ApiModelProperty(value = "项目位置详情")
    private String positionDetail;

    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "开通平台叫泵的标志")
    private boolean openFlag;

    @ApiModelProperty(value = "开启平台叫泵的标志")
    private boolean enableFlag;


    @ApiModelProperty(value = "冻结额度")
    private BigDecimal frozenLimit;

    @ApiModelProperty(value = "可用额度")
    private BigDecimal availableLimit;

    @ApiModelProperty(value = "未结算额度")
    private BigDecimal unSettlementLimit;


    @ApiModelProperty(value = "已结算金额")
    private BigDecimal settlementLimit;


    @ApiModelProperty(value = "机器ID")
    private String mechineId;



    @ApiModelProperty(value = "是否需要泵送 0 否 1 是")
    private String needPumpFlag;

    @ApiModelProperty(value = "距离")
    @TableField(exist = false)
    private Double concretePlantDistance;

    @ApiModelProperty(value = "累积方量")
    @TableField(exist = false)
    private Double sumVolume;


    //@NotNull(message = "订单状态不能为空")
    @ApiModelProperty(value = "查询参数")
    @TableField(exist = false)
    String queryParam;

    @ApiModelProperty(value = "负责人姓名")
    @TableField(exist = false)
    private String name;


    @ApiModelProperty(value = "1. 邀请中 2. 成功  3. 失败")
    @TableField(exist = false)
    private String inviteStatus;




}
